"""
配置枚举定义

定义系统中使用的所有枚举类型。
"""

from enum import Enum


class Mode(Enum):
    """系统运行模式"""
    LOCAL = "local"
    CLOUD = "cloud"


class ChunkStrategy(Enum):
    """分块策略"""
    FIXED = "fixed"
    SEMANTIC = "semantic"
    RECURSIVE = "recursive"
    HIERARCHICAL = "hierarchical"


class FileType(Enum):
    """支持的文件类型"""
    PDF = "pdf"
    DOCX = "docx"
    TXT = "txt"
    MD = "markdown"
    HTML = "html"


class ReaderMode(Enum):
    """文档读取模式"""
    SINGLE = "single"
    AGGREGATE = "aggregate"